<template>
  <div id="app">
     <!-- <el-button>默认按钮</el-button> -->
    <!-- <img alt="Vue logo" src="./assets/logo.png"> -->
     <!-- <header-a></header-a> -->
     <router-view></router-view>
     <!-- <footer-b></footer-b> -->
     <!-- 2222 -->
    <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
  </div>
</template> 

<script>
// let a = '组件地址' //在webpack 监听到改变的时候，就会去解析地址嘛
import headerA from './components/header.vue'
import footerB from './components/footer.vue'
import api from './api/kbBox';
export default {
  name: 'App',
  components: {
    headerA,
    footerB
    // HelloWorld
  },
  created(){
    // console.log(api)
    // this.$axios.post(api.KOI_BLIND_BOX,{ /**定义参数在这里 */})
    // .then(res =>{
    //   console.log(res);
    // })


    // b的接口依赖a的返回
    // this.$axios.post(充值活动查询,{ /**定义参数在这里 */})
    // .then(res =>{
    //    let confId = res.xxx
    //    this.$axios.post(查询指定活动和配置,{confId})
    //      .then(res =>{
    //        console.log(res);
    //    })
    // })
  }
}
</script>

<style>
/* #app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
} */
body{
  margin:0;
  padding:0
}
</style>
